package com.nowcoder.code.hjnc;

public class NC68 {

    public static void main(String[] args) {
        System.out.println(new NC68().jumpFloor(7));
    }

    public int jumpFloor(int target) {
        int sum = 0;
        int last = 1;
        for (int i = 0; i <= target; i++) {
            int tmp = sum;
            sum = sum + last;
            last = tmp;
        }
        return sum;
    }


}
